package com.fy56.platform.logistics.mapper;

import com.fy56.platform.logistics.common.mapper.IBaseMapper;
import com.fy56.platform.logistics.model.User;

/**
 * @author li
 * @date 2018-02-08 10:30
 */
public interface UserMapper extends IBaseMapper<User> {

    /**
     * 通过登陆名获取用户
     * @param loginName
     * @return
     */
    User getUserByLoginName(String loginName);
    int updateLogin(User entity);

    @Override
    User selectByPrimaryKey(Long id);
}
